package com.ebeitech.auction.view.homepage.mvpview;

import android.content.Context;

import com.ebeitech.auction.http.model.LoginModel;

/**
 * Created by alice on 2017/10/25.
 */
public interface LoginContract {

	interface View{
		
		void showProgress(String message);
		void dismissProgress();
		void showLoginResult(String resultMessage);
		void loginSuccess();
		void setIsHomeShowVersionUpdateDialog(boolean flag);
		void showLoginFrame();
		void showUserAccount(String userAccount,String password);

	}

	interface Presenter{
		void doLogin(String userAccount,String password);
		void autoLogin(Context context);
		void loginSuccess(LoginModel loginModel);
		void doWeiXinLogin(String userAccount,String password);
		void doBindWeiXin(String accessToken, String userAccount,String password);
	}

}
